@charset 'utf-8';
@import url(common-pc.less);

html{
    width: 100%;
    height: 100%;
    font-family: sans-serif;
}
body{
    // height: 3000px;
    min-width: 1100px;
    font-family: "MI Lan Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    background: #f9f9f9;
    height: 100%;
    position: relative;
}
.banner{
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 375px;
    overflow: hidden;
    background-image: url("https://cdn.web-global.fds.api.mi-img.com/mcfe--mi-account/static/static/media/banner.a0e6fbf0.jpg");
    background-size: 100%;
}
#container{
    position: absolute;
    margin-left: 375px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    .header{
        display: flex;
        justify-content: space-between;
        .header-logo{
            display: flex;
            align-items: center;
            height: 80px;
            line-height: 80px;    
            img{
            width: 40px;
            height: 40px;
            margin: 0 10px 0 20px;
            }
            h3{
                font-weight: 500;
                font-size: 26px;
            }
        }
        .header-nav{
            margin-bottom: 20px;
            >ul{
                >li{
                float: left;
                line-height: 80px;
                margin-right: 10px;
                color: #999;
                font-size: 14px;
                    >a{
                        padding: 5px;
                        color: #999;
                    }
                    >a:hover{
                        color:#fe6900;
                        text-decoration: none;
                    }
                }
                >li:last-of-type{
                    margin-right: 40px;
                    position: relative;
                    .caret{
                    transition: all 0.4s;
                    }
                    >:first-child{
                        padding: 25px 10px;
                        cursor: pointer;
                        position: relative;
                        >ul{
                            display: none;
                            position: absolute;
                            left: 8px;
                            top: 60px;
                            color: black;
                            border-radius: 2px;
                            border: 1px solid #eee;
                            text-align: center;
                            >li{
                                width: 90px;
                                height: 35px;
                                line-height: 35px;
                            }
                            >li:hover{
                                background: rgb(255,243,230);
                            }
                        }
                    }
                    >:first-child:hover{
                        color:#fe6900;
                        .caret{
                            transform: translateY(-50%) rotate(180deg);
                        }
                        .language{
                            display: block;
                        }
                    }
                }

            }
        }    
    }
    #select{
        width: 448px;
        background-color: #fff;
        margin: 20px auto 120px;
        padding: 48px;
        border-radius: 5px;
        position: relative;
        border-radius: 5px;
        overflow: hidden;
        .select-header{
            margin-bottom: 32px;
            position: relative;
            >span{
                cursor: pointer;
                text-decoration: none;
                color: #999;
                font-size: 20px;
                margin-right: 15px;
            }
            .select-active{
                color: black;
                font-weight: 900;
            }
            .move-active{
                position: absolute;
                background: #fe6900;
                width: 40px;
                height: 4px;
                left: 0;
                top: 28px;
                border-radius: 2px;
            }
            .code{
                position: absolute;
                width: 64px;
                height: 64px;
                right: -48px;
                top: -48px;
                background-color: #ff6700;
                padding: 12px;
                cursor: pointer;
                opacity: .5;
                transition: all .4s;
                >svg{
                    font-size: 40px;
                }
                &:hover{
                    opacity: 1;
                }
            }
            .blank-box{
                position: absolute;
                top: -44px;
                right: -23px;
                width: 50px;
                height: 91px;
                background-color: #fff;
                z-index: 5;
                transform: rotateZ(-45deg);
            }
        }
        .select-login{
            position: relative;
            .sl-form{
                position: relative;
            }
            .sl-username{
                display: block;
                height: 60px;
                width: 100%;
                background: #f9f9f9;
                border-radius: 5px;
                padding: 24px 0 0 20px;
                font-size: 17px;
                margin-bottom: 10px;
                border: none;
            }
            .sl-password{
                display: block;
                height: 60px;
                width: 100%;
                background: #f9f9f9;
                border-radius: 5px;
                padding: 24px 0 0 20px;
                font-size: 17px;
                margin-top: 20px;
                margin-bottom: 10px;
                border: none;
            }
            p{
                color: #f04645;
                font-size: 12px;
            }
            .sl-submit{
                height: 60px;
                width: 100%;
                line-height: 60px;
                color: #fff;
                background: #ffbe99;
                border: none;
                border-radius: 5px;
                font-size: 18px;
                margin-top: 20px;
            }
            .sl-submit:hover{
                opacity: 0.8;
            }
            .sl-other{
                display: flex;
                justify-content: space-between;
                margin-top: 10px;
                margin-bottom: 80px;
                font-size: 17px;
                >a{
                    color: #fe6900;
                    text-decoration: none;
                }
            }
        }
        .select-footer{
            text-align: center;
            >p{
                font-size: 17px;
                color:#999;
                margin-bottom: 20px;
            }
            >svg{
                font-size: 40px;
                margin: 0 15px;
            }
            >svg:first-of-type{
                font-size: 45px;
            }
        }
        .select-reg{
            background-color: #fff;
            // display: none;
            button{
                font-size: 14px;
                color:#fe6900;
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
                background-color: inherit;
                padding: 0 15px;
            }
            .sr-country{
                width: 100%;
                height: 60px;
                background-color: #f9f9f9;
                border-radius: 5px;
                margin-bottom: 20px;
                padding: 28px 0 0 20px;
                position: relative;
                font-size: 17px;
                cursor: pointer;
                >p{
                    font-size: 12px;
                    color: #999;
                    position: absolute;
                    left: 20px;
                    top: 8px;
                }
                >svg{
                    position: absolute;
                    right: 25px;
                    top: 22px;
                    font-size: 20px;
                }
            }
            .sr-phone{
                width: 352px;
                height: 60px;
                background-color: #f9f9f9;
                margin-bottom: 10px;
                border-radius: 5px;
                position: relative;
            }
            .sr-phone-left{
                position: absolute;
                top: 1px;
                left: 0;
                z-index: 5;
                width: 140px;
                height: 58px;
                padding: 28px 0 0 20px;
                font-size: 17px;
                cursor: pointer;
                margin-left: 5px;
                >p{
                    font-size: 12px;
                    color: #999;
                    position: absolute;
                    left: 20px;
                    top: 8px;
                }
                >svg{
                    position: absolute;
                    right: 10px;
                    top: 22px;
                    font-size: 20px;
                }

            }
            .userphone{
                border: none;
                display: block;
                height: 60px;
                width: 100%;
                background: #f9f9f9;
                padding: 24px 0 0 160px;
                font-size: 17px;
                border-radius: 5px;
            }
            p{
                color: #f04645;
                font-size: 12px;
                margin-bottom: 10px;
            }
            .sr-message{
                width: 100%;
                height: 60px;
                background-color: #f9f9f9;
                border-radius: 5px;
                padding: 24px 0 0 20px;
                border: none;
            }
            .sr-getmessage{
                position: absolute;
                top: 50%;
                right: 0;
                width: 100px;
                height: 60px;
                cursor: pointer;
                border: none;
            }
            .sr-submit{
                height: 60px;
                width: 100%;
                line-height: 60px;
                color: #fff;
                background: #ffbe99;
                border: none;
                border-radius: 5px;
                font-size: 18px;
                margin-top: 20px;
                &:hover{
                    opacity: 0.8;
                }
            }
            .sr-other{
                display: flex;
                justify-content: space-between;
                margin-top: 10px;
                font-size: 17px;
                >a{
                    color: #fe6900;
                    text-decoration: none;
                }
            }
            .sr-footer{
                font-size: 14px;
                color: #999;
                text-align: center;
                margin-top: 10px;
                margin-bottom: 20px;
                >span{
                    color: #000;
                }
            }
        }
    }
    #footer{
        // position: absolute;
        // bottom: 16px;
        // left: 50%;
        // transform: translateX(-50%);
        text-align: center;
        line-height: 60px;
        >p{
            font-size: 12px;
            color: #999;
            >span{
                cursor: pointer;
            }
        }
    }
}
// svg iconfont
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
  cursor: pointer;
}
.hide{
    display: none;
}
.show{
    display: block;
}
// input激活时边框
.input-active{
    border: 1px solid #fe6900 !important;
    background: #fff !important;
    box-shadow: 0 0 3px #fe6900 !important;
}
// input上的字 激活输入时缩小
.input-info{
    position: absolute;
    cursor: text;
    font-size: 17px;
    color: #999;
    left: 20px;
    top: 18px;
    user-select: none;
}
.active-inputbox{
    transition: all .2s;
}
.withoutval-bgc{
    background-color: rgb(252,242,243) !important;
}
.withoutval-txt{
    color: #f04645;
}
// 国家list
.list-active{
    position: absolute;
    width: 352px;
    z-index: 10;
    .list-search{
        width: 100%;
        display: flex;
        align-items: center;
        background-color: #f9f9f9;
        >svg{
            width: 60px;
        }
        >input{
            display: block;
            border: none;
            flex-grow: 1;
            height: 46px;
            background-color: #f9f9f9;
            margin-right: 20px;
        }
    }
    .normal-list{
        overflow: auto;
        height: 280px;
        border-radius: 5px;
        background-color: #fff;
        >li{
            height: 60px;
            padding: 10px 20px;
            color: #999;
            line-height: 40px;
        }
        >li:hover{
            background-color: rgb(255,243,230);
            color: #000;
        }
    }
}